UCF STIG Viewer Logo

All TOSS local interactive user home directories must have mode 0770 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-252969 TOSS-04-020300 SV-252969r824231_rule Medium
Description
Users' home directories/folders may contain information of a sensitive nature. Non-privileged users should coordinate any sharing of information with an SA through shared resources.
STIG Date
Tri-Lab Operating System Stack (TOSS) 4 Security Technical Implementation Guide 2022-08-29

Details

Check Text ( C-56422r824229_chk )
Verify the operating system limits the ability of non-privileged users to grant other users direct access to the contents of their home directories/folders.

Ensure that the user permissions on all user home directories is set to 770 permissions with the following command:

$ find $(awk -F: '($3>=1000)&&($7 !~ /nologin/){print $6}' /etc/passwd) -maxdepth 0 -not -perm 770 -ls

If there is any output, this is a finding.
Fix Text (F-56372r824230_fix)
Change the mode of interactive user's home directories to "0770." To change the mode of a local interactive user's home directory, use the following command:

Note: The example will be for the user "smithj."

$ sudo chmod 0770 /home/smithj